package com.aaa.hospital.service;

import com.aaa.hospital.pojo.query.PostQuery;
import com.aaa.hospital.pojo.vo.PostVO;
import com.aaa.hospital.result.AjaxResult;

/**
 * @Author: danghui
 * @Date: 2022/2/21 13:58
 * @Description: TODO
 */
public interface PostService {
    AjaxResult queryPost(PostQuery query);

    AjaxResult deletePost(Integer id);

    AjaxResult addPost(PostVO postVO);

    AjaxResult getPost(Integer id);

    AjaxResult updatePost(PostVO postVO);
}
